package com.springboot.demo.model.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "用户信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer implements Serializable {

    @ApiModelProperty("用户id")
    private Integer customerId;

    @ApiModelProperty("openid")
    private String openId;

    @ApiModelProperty("微信解密session_key")
    private String sessionKey;

    @ApiModelProperty("用户token")
    private String customerToken;

    @ApiModelProperty("头像")
    private String headImg;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("手机号|固话")
    private String phone;

    @ApiModelProperty("身份证")
    private String idcard;

    @ApiModelProperty("资料完整度")
    private String dataPercent;

    @ApiModelProperty("状态:0删除,1正常")
    private Integer customerStatus;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;

}